PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\AbstractGateway S

Total Complexity 41
Dependencies 14
Dependents 14
Total lines 271
Lines of code 186
Logical lines of code 91
Comment lines 31
Methods 26
Properties 8

Methods 26

Method Rating Maintainability Complexity Lines of code
process_payment()
A
50 8 27
process_refund()
S
50 4 29
payment_fields()
S
58 2 14
init_supports()
S
58 1 19
get_transaction_url()
S
68 2 7
add_section_enabled()
S
68 2 7
get_billing_token_from_request()
S
76 2 3
render_html_data()
S
70 2 5
__construct()
S
60 1 14
get_payment_method_data()
S
82 1 3
express_checkout_fields()
S
91 1 2
get_admin_script_dependencies()
S
82 1 3
get_product_form_fields()
S
82 1 3
get_payment_method_token_instance()
S
73 1 5
get_checkout_script_handles()
S
82 1 3
get_cart_script_handles()
S
82 1 3
get_product_script_handles()
S
82 1 3
product_fields()
S
67 1 7
is_section_enabled()
S
78 1 3
cart_fields()
S
67 1 7
get_express_checkout_script_handles()
S
82 1 3
is_minicart_section_enabled()
S
80 1 3
init_hooks()
S
74 1 4
is_product_section_enabled()
S
80 1 3
is_cart_section_enabled()
S
80 1 3
is_express_section_enabled()
S
80 1 3